package org.jeecg.modules.friends.model;

import java.io.Serializable;
import java.util.Date;

public class InvitedUserDO implements Serializable {
    private Long id;

    private Long userId;

    private Long invitedUserId;

    private String mobile;

    private Date addTime;

    private Date updateTime;

    private Integer inviteDayCount;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getInvitedUserId() {
        return invitedUserId;
    }

    public void setInvitedUserId(Long invitedUserId) {
        this.invitedUserId = invitedUserId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getInviteDayCount() {
        return inviteDayCount;
    }

    public void setInviteDayCount(Integer inviteDayCount) {
        this.inviteDayCount = inviteDayCount;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", invitedUserId=").append(invitedUserId);
        sb.append(", mobile=").append(mobile);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", inviteDayCount=").append(inviteDayCount);
        sb.append("]");
        return sb.toString();
    }
}